package com.celesea.configuration.web;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "web")
public class WebProperties {
    private String apiWrapPackage;
    private boolean apiWrap = true;

    public String getApiWrapPackage() {
        return apiWrapPackage;
    }

    public void setApiWrapPackage(String apiWrapPackage) {
        this.apiWrapPackage = apiWrapPackage;
    }

    public boolean isApiWrap() {
        return apiWrap;
    }

    public void setApiWrap(boolean apiWrap) {
        this.apiWrap = apiWrap;
    }
}
